package com.ilovepostcard.controller;

import com.ilovepostcard.data.SendTaskInfo;

public class ShareController {
	
	static ShareController mInstance;
	SendTaskInfo mCurrentSendTask;
	
	public static ShareController getInstance()
	{
		if(mInstance == null)
			mInstance = new ShareController();
		return mInstance;
	}
	
	public void createSendTask(SendTaskInfo task)
	{
		mCurrentSendTask = task;
	}
	
	public SendTaskInfo getCurrentSendTask()
	{
		return mCurrentSendTask;
	}
	
	public void cancelCurrentSendTask()
	{
		mCurrentSendTask = null;
	}

}
